package main

import (
	"app-demo/route"

	"github.com/kataras/iris/v12"
)

type Application struct {
	RunPath  string // 运行目录
	WorkPath string // 工作目录
}

func main() {
	newHttpService().
		AddRoute(func(app *iris.Application) {
			route.AddHandler(app)
		}).
		Run()
}
